package edu.tgc.web.controller;

import java.util.HashMap;
import java.util.List;

import org.abyss.common.web.controller.easyui.CommonCrudEasyUiController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import edu.tgc.entity.TbNation;
import edu.tgc.service.NationService;
import edu.tgc.web.form.NationForm;
@Controller
@RequestMapping(value="/root/nation")
public class NationController extends CommonCrudEasyUiController<TbNation, Integer, NationForm> {
	@Autowired
	private NationService service;
	
	@RequestMapping(value="/combo")
	@ResponseBody
	public Object combo(){
		List<HashMap<String, Object>> result=service.combo();
		return result;
		
	}
}
